package com.aaa.service.impl;

import com.aaa.dao.FuserMapper;
import com.aaa.entity.Fuser;
import com.aaa.service.FuserServiceDao;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class FuserServiceImpl extends ServiceImpl<FuserMapper, Fuser> implements FuserServiceDao {
    @Resource
    FuserMapper fuserMapper;
    @Override
    public List<Map> select(String uid) {
        return fuserMapper.select(uid);
    }

    @Override
    public boolean updatePassword(String password, int id) {
        return fuserMapper.updatePassword(password,id);
    }
}
